//
//  Utils+Application.h
//  NvSellerShow
//
//  Created by Meicam on 2017/2/25.
//  Copyright © 2017年 Meicam. All rights reserved.
//

#import "Utils.h"

@interface Utils (Application)


+ (UIViewController *)rootViewController;

+ (UIWindow *)currentWindow;

+ (UIWindow *)popOverWindow;

+ (void)addViewToPopOverWindow:(UIView *)view;

+ (void)removeViewFromPopOverWindow:(UIView *)view;

+ (UIViewController *)viewControllerForView:(UIView *)view;

+ (void)removeViewControllerFromParentViewController:(UIViewController *)viewController;

+ (void)addViewController:(UIViewController *)viewController  toViewController:(UIViewController *)parentViewController;

+ (void)startObserveRunLoop;

+ (void)stopObserveRunLoop;
@end
